Failed to load module script: Expected a JavaScript module script but the server ···报错解决

Failedtoloadmodulescript:ExpectedaJavaScriptmodulescriptbuttheserverrespondedwithaMIMEtype...